<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function getRandom(min,max){
            return Math.floor(Math.random()*(max-min+1))+min;
        }
        var arr=['杨有朋','杨子玥','王靖宇','杨英杰','徐梦琳','罗家樑','单永涛','丁子富'];
        console.log(arr[getRandom(0,7)]);
    </script>
</head>
<body>

</body>
</html>